/*******************************************************************************
 * Copyright (c) 2003 Boris Pruessmann and others. All rights reserved. This
 * program and the accompanying materials are made available under the terms of
 * the Common Public License v0.5 which accompanies this distribution, and is
 * available at http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors: Boris Pruessmann - Initial implementation.
 ******************************************************************************/
package net.sourceforge.perforce.core.api;

import java.util.Collections;
import java.util.Set;

/**
 * @version $Revision: 488 $
 * @author <a href="mailto:bpruessmann@users.sourceforge.net">Boris
 *         Pruessmann</a>
 */
public class NullFileType implements IFileType {
  // -------------------------------------------------------------------------
  // Public Constructors

  /** Constructor for NullFileType. */
  public NullFileType() {
  }

  //----------------------------------------------------------------------------
  // -- Public Methods

  /** @see IFileType#getBaseFileType() */
  public BaseFileTypeEnum getBaseFileType() {
    return BaseFileTypeEnum.NONE;
  }

  public Set<?> getModifierSet() {
    return Collections.EMPTY_SET;
  }

  @Override
  public String toString() {
    return ""; //$NON-NLS-1$
  }
}
